<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Index extends CI_Controller {
	function __construct(){
		log_message(ETS_INFO, '### C:/index->construct()');
		parent::__construct();
		$this->load->library ( 'mylang' );
		$this->load->library ( 'authority' );
	}
	
	public function index()
	{
		log_message(ETS_INFO, '### C:/index->index()');
		$this->authority->filter(SESSION_KEY_USER_ROLE_USER);
		
		log_message(ETS_INFO, '### goto V:/userhome.php');
		$this->load->view('userhome.php');
	}
}